public class Text6 {
    public static void main(String[] args) {
        int [][] yearArrArr = {
                {22,66,44},
                {77,33,88},
                {25,45,65},
                {11,66,99}
        };
        int sum = 0;
        for (int i = 0; i < yearArrArr.length; i++) {
            for (int j = 0; j < yearArrArr[i].length; j++) {
                sum = sum + yearArrArr[i][j];
            }
        }
        System.out.println(sum);
    }
}
